<?php
/**
 * 运营-商业广告数据
 * (model)
 */
namespace App\Models\Operation;

use App\Models\Basics\SysCountry;
use App\Models\Product\ProductClassify;
use App\Models\Product\ProductSku;
use Illuminate\Database\Eloquent\Model;
class Business extends Model
{
    protected $table = 'operation_business';

    protected $guarded = [];

    public function country()
    {
        return $this->belongsTo(SysCountry::class,'country_id');
    }

    public function sku(){
        return $this->belongsTo(ProductSku::class,'psku_id');
    }

    public function classify(){
        return $this->belongsTo(ProductClassify::class,'classify_id');
    }
}
